package xuan.mall.system.domain.repository;

import com.baomidou.mybatisplus.extension.service.IService;
import xuan.mall.system.domain.entity.User;

/**
 * @author: rongxuanzhou
 * @create: 2025/5/31
 * @Description: 系统用户Service
 */
public interface UserRepository extends IService<User> {
    /**
     * 根据用户名查询用户
     * @param username 用户名
     * @return 用户
     */
    User findByUsername(String username);
}
